package cc.linker.steplink.crm.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SurvivalDao {
    void addSurvival(Map<String, Object> map);

    void addSurvivalContent(List<Map<String, Object>> list);

    void addSurvivalContentValue(List<Map<String, Object>> list);

    void updateSurvival(Map<String, Object> map);

    void deleteSurvivalContent(String id);

    void deleteSurvivalContentValue(String id);

    void deleteSurvival(Map<String, Object> map);

    void stopSurvival(Map<String, Object> map);

    List<Map<String, Object>> getList(Map<String, Object> param);

    Map<String, Object> getDetail(Map<String, Object> param);

    Map<String, Object> getInfo(Map<String, Object> param);

    List<Map<String, Object>> getContents(Map<String, Object> param);

    List<Map<String, Object>> getContentValues(String contentId);

    Integer getUserTouch(Map<String, Object> param);

    Integer userSurvival(Map<String, Object> param);

    Map<String, Object> getGoodsById(String id);

    Map<String, Object> getEnrollById(String id);

    Integer getRepeatTitle(Map<String, Object> map);

    List<Map> getMenuList(Map<String, Object> map);

    String getMuneDataList(@Param("menuId") Long menuId);

    void deleteByMenuId(Map map);

}
